<div class="userVerification">
  <div class="title">
    <div>实名验证</div>
  </div>
  <div class="userMessage">
    <form dForm ngForm [layout]="layoutDirection" (dSubmit)="onSubmit($event)">
      <div [ngModelGroup]="'verificationForm'">
        <d-form-item>
          <d-form-label [required]="true">真实姓名</d-form-label>
          <d-form-control>
            <input dTextInput autocomplete="off" name="realName" placeholder="请输入您的真实姓名"
              [(ngModel)]="verification.realName" [dValidateRules]="formRules.nameRules"
              [ngModelOptions]="{ updateOn: 'blur' }" />
          </d-form-control>
        </d-form-item>
        <d-form-item>
          <d-form-label [required]="true">身份证号</d-form-label>
          <d-form-control>
            <input dTextInput autocomplete="off" name="identityNumber" placeholder="请输入您的身份证号"
              [(ngModel)]="verification.identityNumber" [dValidateRules]="formRules.idRules"
              [ngModelOptions]="{ updateOn: 'blur' }" maxlength="18" />
          </d-form-control>
        </d-form-item>
      </div>
      <d-form-operation>
        <button class="submit" dFormSubmit>提交验证</button>
      </d-form-operation>
    </form>
  </div>
</div>
